<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:v-bind="http://www.w3.org/1999/xhtml"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="/images/favicon.ico" type="image/ico" />
    <title>Java_Spring_Boot</title>

    <!-- Bootstrap -->
    <link href="/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link href="/css/custom.min.css" rel="stylesheet">

    <!-- jQuery -->
    <script src="/vendors/jquery/dist/jquery.min.js" type="text/javascript"></script>
    <!-- Bootstrap -->
    <script src="/vendors/bootstrap/dist/js/bootstrap.bundle.min.js" type="text/javascript"></script>
    <!-- Vue -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js" type="text/javascript"></script>
    <!-- layer -->
    <script src="https://cdn.bootcss.com/layer/2.1/layer.js" type="text/javascript"></script>
    <!-- 删除确认框-->
    <script src="/vendors/bootbox/js/bootbox.js" type="text/javascript"></script>

</head>
<body class="nav-md">
<div class="container body">
    <div class="main_container">
        <!-- sidebar -->
        <div th:replace="fragments/sidebar"></div>

        <!-- header -->
        <div th:replace="fragments/header"></div>

        <!-- content -->
        <div th:if="${template}">
            <div th:replace="${template}"></div>
        </div>

      <!--  <h3>file upload</h3>
        <p th:text="${message}"></p>
        <img th:src="${relative}" width="200px;" height="200px">
        <p>上传文件,使用mulipart/form-date类型</p>
        <form action="/test/file" method="post" enctype="multipart/form-data">
            <input type="file" name="file">
            <button type="submit">上传</button>
        </form>
        <br>-->

       <!-- <form action="/test/files" method="post" enctype="multipart/form-data">
            <input type="file" name="files">
            <button type="submit">上传</button>
        </form>
        <p>==================================================================</p>
        <h3>file downlod</h3>
        <a href="/test/file?fileName=aaaa.png">download file</a>
        <br>
        <p>==================================================================</p>-->

        <!-- footer -->
        <div th:replace="fragments/footer"></div>
    </div>
</div>

<!-- Custom Theme Scripts -->
<script src="/js/custom.min.js"></script>
</body>
</html>